CC = gcc
CFLAGS = -pipe -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g 
LINK = $(CC)

CORE_DEPS = 

OBJECTS = objs/clienttest.o

chattest : $(OBJECTS)
	  $(LINK) -o chattest $(OBJECTS) -lpthread

objs/clienttest.o : $(CORE_DEPS) \
		 clienttest.c
		 $(CC) -c $(CFLAGS) \
		 -o objs/clienttest.o \
		 clienttest.c

clean : 
		 rm -fr chattest $(OBJECTS) 
